<%@ page contentType="text/html; charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>CRM</title>
    <link rel="stylesheet" type="text/css" href="/static/plugin/jquery-easyui-1.5.2/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="/static/plugin/jquery-easyui-1.5.2/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="/static/plugin/jquery-easyui-1.5.2/demo/demo.css">
    <script type="text/javascript" src="/static/plugin/jquery-easyui-1.5.2/jquery.min.js"></script>
    <script type="text/javascript" src="/static/plugin/jquery-easyui-1.5.2/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="/static/plugin/jquery-easyui-1.5.2/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="/static/js/report.js"></script>
</head>
<body>
<table id="emp_datagrid"></table>

<div id="emp_toolbar">
    <shiro:hasPermission name="report:saveOrUpdate">
    <a class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-add'" data-cmd="add">添加</a>
    <a class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-edit'" data-cmd="edit">编辑</a>
    <a class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-ok'" data-cmd="accept">受理</a>
    </shiro:hasPermission>
    <a class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-reload'" data-cmd="reload">刷新</a>&nbsp;
    <span>关键字:</span><input class="easyui-textbox" prompt="报案人名/保单号" id="keyword">&nbsp;
    <span>事故日期:</span><input class="easyui-datebox" id="beginDate">
    <span>～</span>
    <input class="easyui-datebox" id="endDate">&nbsp;
    <a class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-search'" data-cmd="query"></a>

</div>
<div id="emp_buttons" >
    <a class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-save'" data-cmd="save" >保存</a>
    <a class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-cancel'" data-cmd="cancel">取消</a>
</div>
<div id="ok">
    <a class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-ok'" data-cmd="cancel">确定</a>
</div>
<div id="report_dialog"></div>
<div id="emp_dialog" align="center">
    <form method="post" id="emp_form">
        <input type="hidden" name="id">
        <table style="margin-top: 20px" align="center">
            <tr style="height:40px">
                <td>
                    报案人:
                </td>
                <td>
                    <input class="easyui-textbox" name="name" data-options="required:true">
                </td>
            </tr>
            <tr style="height:40px">
                <td>
                    性别:
                </td>
                <td>
                    <input class="easyui-combobox" name="gender"
                           data-options="panelHeight:'auto',
                            valueField: 'id',
                            value:'请选择',
                            limitToList: true,
                            editable:false,
                            textField: 'value',
                            data: [{
                                id: '0',
                                value: '男'
                            },{
                                id: '1',
                                value: '女'
                            }]">
                </td>
            </tr>
            <tr style="height:40px">
                <td>
                    联系电话:
                </td>
                <td>
                    <input class="easyui-textbox" name="tel">
                </td>
            </tr>
            <tr style="height:40px">
                <td>
                    事故地点:
                </td>
                <td>
                    <input class="easyui-textbox" name="place">
                </td>
            </tr>
            <tr style="height:40px">
                <td>
                    车牌号:
                </td>
                <td>
                    <input class="easyui-textbox" name="carnumber" data-options="required:true">
                </td>
            </tr>
            <tr style="height:40px">
                <td>
                    事故日期:
                </td>
                <td>
                    <input class="easyui-datebox" name="happendate">
                </td>
            </tr>
            <tr style="height:40px">
                <td>
                    保单编号:
                </td>
                <td>
                    <input class="easyui-textbox" name="getguard" data-options="required:true">
                </td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>